﻿@inherits BaseComponent

<div class="top-canter-message" style="display:none" @ref="Element">
    @ChildContent
</div>

@code
{
    [Parameter]
    public RenderFragment ChildContent { get; set; }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            await this._jSRuntime.InvokeVoidAsync("$.header_canter_init", Element);
        }
    }
}
